package com.mayikt.controller;

import com.mayikt.entity.UserEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class MythymeleafController {
//    @RequestMapping("/myThymeleaf")
//    public String myThymeLeaf(HttpServletRequest request){
//        request.setAttribute("user",new UserEntity("taozi",19));
//        return "myThymeleaf";
//    }
}
